import request from '@/utils/request'

export function getAllCategory() {
  return request({
    url: `/lejuAdmin/category/getAllCategory`
  })
}
export function updateCategory(data) {
  return request({
    url: `/lejuAdmin/category/updateCategory`,
    method: 'post',
    data
  })
}
